3.29 \(\int \frac{x^3}{\log ^2(c x)} \, dx\)

Optimal. Leaf size=24 \[ \frac{4 \text{Ei}(4 \log (c x))}{c^4}-\frac{x^4}{\log (c x)} \]

[Out]

(4*ExpIntegralEi[4*Log[c*x]])/c^4 - x^4/Log[c*x]

________________________________________________________________________________________

Rubi [A]  time = 0.0375445, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {2306, 2309, 2178} \[ \frac{4 \text{Ei}(4 \log (c x))}{c^4}-\frac{x^4}{\log (c x)} \]

Antiderivative was successfully verified.

[In]

Int[x^3/Log[c*x]^2,x]

[Out]

(4*ExpIntegralEi[4*Log[c*x]])/c^4 - x^4/Log[c*x]

Rule 2306

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log
[c*x^n])^(p + 1))/(b*d*n*(p + 1)), x] - Dist[(m + 1)/(b*n*(p + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p + 1), x]
, x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && LtQ[p, -1]

Rule 2309

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rubi steps

\begin{align*} \int \frac{x^3}{\log ^2(c x)} \, dx &=-\frac{x^4}{\log (c x)}+4 \int \frac{x^3}{\log (c x)} \, dx\\ &=-\frac{x^4}{\log (c x)}+\frac{4 \operatorname{Subst}\left (\int \frac{e^{4 x}}{x} \, dx,x,\log (c x)\right )}{c^4}\\ &=\frac{4 \text{Ei}(4 \log (c x))}{c^4}-\frac{x^4}{\log (c x)}\\ \end{align*}

Mathematica [A]  time = 0.0146853, size = 24, normalized size = 1. \[ \frac{4 \text{Ei}(4 \log (c x))}{c^4}-\frac{x^4}{\log (c x)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^3/Log[c*x]^2,x]

[Out]

(4*ExpIntegralEi[4*Log[c*x]])/c^4 - x^4/Log[c*x]

________________________________________________________________________________________

Maple [A]  time = 0.033, size = 26, normalized size = 1.1 \begin{align*} -{\frac{{x}^{4}}{\ln \left ( cx \right ) }}-4\,{\frac{{\it Ei} \left ( 1,-4\,\ln \left ( cx \right ) \right ) }{{c}^{4}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3/ln(c*x)^2,x)

[Out]

-x^4/ln(c*x)-4/c^4*Ei(1,-4*ln(c*x))

________________________________________________________________________________________

Maxima [A]  time = 1.18444, size = 18, normalized size = 0.75 \begin{align*} \frac{4 \, \Gamma \left (-1, -4 \, \log \left (c x\right )\right )}{c^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/log(c*x)^2,x, algorithm="maxima")

[Out]

4*gamma(-1, -4*log(c*x))/c^4

________________________________________________________________________________________

Fricas [A]  time = 0.707463, size = 84, normalized size = 3.5 \begin{align*} -\frac{c^{4} x^{4} - 4 \, \log \left (c x\right ) \logintegral \left (c^{4} x^{4}\right )}{c^{4} \log \left (c x\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/log(c*x)^2,x, algorithm="fricas")

[Out]

-(c^4*x^4 - 4*log(c*x)*log_integral(c^4*x^4))/(c^4*log(c*x))

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{x^{4}}{\log{\left (c x \right )}} + 4 \int \frac{x^{3}}{\log{\left (c x \right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3/ln(c*x)**2,x)

[Out]

-x**4/log(c*x) + 4*Integral(x**3/log(c*x), x)

________________________________________________________________________________________

Giac [A]  time = 1.12186, size = 32, normalized size = 1.33 \begin{align*} -\frac{x^{4}}{\log \left (c x\right )} + \frac{4 \,{\rm Ei}\left (4 \, \log \left (c x\right )\right )}{c^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/log(c*x)^2,x, algorithm="giac")

[Out]

-x^4/log(c*x) + 4*Ei(4*log(c*x))/c^4